
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>IconFont</title>
    <link rel="stylesheet" href="demo.css">
    <link rel="stylesheet" href="iconfont.css">
</head>
<body>
    <div class="main markdown">
        <h1>IconFont 图标</h1>
        <ul class="icon_lists clear">
            
                <li>
                <i class="icon ultfont ult-wechat"></i>
                    <div class="name">wechat_line_MT_UI</div>
                    <div class="fontclass">.ult-wechat</div>
                </li>
            
                <li>
                <i class="icon ultfont ult-qq"></i>
                    <div class="name">QQ</div>
                    <div class="fontclass">.ult-qq</div>
                </li>
            
                <li>
                <i class="icon ultfont ult-user-fill"></i>
                    <div class="name">user</div>
                    <div class="fontclass">.ult-user-fill</div>
                </li>
            
                <li>
                <i class="icon ultfont ult-compass"></i>
                    <div class="name">compass</div>
                    <div class="fontclass">.ult-compass</div>
                </li>
            
                <li>
                <i class="icon ultfont ult-close-circle"></i>
                    <div class="name">close-circle</div>
                    <div class="fontclass">.ult-close-circle</div>
                </li>
            
                <li>
                <i class="icon ultfont ult-info-circle"></i>
                    <div class="name">info-circle</div>
                    <div class="fontclass">.ult-info-circle</div>
                </li>
            
                <li>
                <i class="icon ultfont ult-plus-circle"></i>
                    <div class="name">plus-circle</div>
                    <div class="fontclass">.ult-plus-circle</div>
                </li>
            
                <li>
                <i class="icon ultfont ult-question-circle"></i>
                    <div class="name">question-circle</div>
                    <div class="fontclass">.ult-question-circle</div>
                </li>
            
                <li>
                <i class="icon ultfont ult-setting"></i>
                    <div class="name">setting</div>
                    <div class="fontclass">.ult-setting</div>
                </li>
            
                <li>
                <i class="icon ultfont ult-export"></i>
                    <div class="name">export</div>
                    <div class="fontclass">.ult-export</div>
                </li>
            
                <li>
                <i class="icon ultfont ult-Import"></i>
                    <div class="name">Import</div>
                    <div class="fontclass">.ult-Import</div>
                </li>
            
                <li>
                <i class="icon ultfont ult-appstore"></i>
                    <div class="name">app store</div>
                    <div class="fontclass">.ult-appstore</div>
                </li>
            
                <li>
                <i class="icon ultfont ult-detail"></i>
                    <div class="name">detail</div>
                    <div class="fontclass">.ult-detail</div>
                </li>
            
                <li>
                <i class="icon ultfont ult-plus-square"></i>
                    <div class="name">plus-square</div>
                    <div class="fontclass">.ult-plus-square</div>
                </li>
            
                <li>
                <i class="icon ultfont ult-wallet"></i>
                    <div class="name">wallet</div>
                    <div class="fontclass">.ult-wallet</div>
                </li>
            
                <li>
                <i class="icon ultfont ult-user"></i>
                    <div class="name">user</div>
                    <div class="fontclass">.ult-user</div>
                </li>
            
                <li>
                <i class="icon ultfont ult-team"></i>
                    <div class="name">team</div>
                    <div class="fontclass">.ult-team</div>
                </li>
            
                <li>
                <i class="icon ultfont ult-filedone"></i>
                    <div class="name">file done</div>
                    <div class="fontclass">.ult-filedone</div>
                </li>
            
                <li>
                <i class="icon ultfont ult-filesync"></i>
                    <div class="name">file sync</div>
                    <div class="fontclass">.ult-filesync</div>
                </li>
            
                <li>
                <i class="icon ultfont ult-safetycertificate"></i>
                    <div class="name">safety certificate</div>
                    <div class="fontclass">.ult-safetycertificate</div>
                </li>
            
                <li>
                <i class="icon ultfont ult-contacts"></i>
                    <div class="name">contacts</div>
                    <div class="fontclass">.ult-contacts</div>
                </li>
            
                <li>
                <i class="icon ultfont ult-scan"></i>
                    <div class="name">scan</div>
                    <div class="fontclass">.ult-scan</div>
                </li>
            
                <li>
                <i class="icon ultfont ult-qrcode"></i>
                    <div class="name">qrcode</div>
                    <div class="fontclass">.ult-qrcode</div>
                </li>
            
                <li>
                <i class="icon ultfont ult-block"></i>
                    <div class="name">block</div>
                    <div class="fontclass">.ult-block</div>
                </li>
            
                <li>
                <i class="icon ultfont ult-gold"></i>
                    <div class="name">gold</div>
                    <div class="fontclass">.ult-gold</div>
                </li>
            
                <li>
                <i class="icon ultfont ult-right"></i>
                    <div class="name">right</div>
                    <div class="fontclass">.ult-right</div>
                </li>
            
                <li>
                <i class="icon ultfont ult-left"></i>
                    <div class="name">left</div>
                    <div class="fontclass">.ult-left</div>
                </li>
            
                <li>
                <i class="icon ultfont ult-up"></i>
                    <div class="name">up</div>
                    <div class="fontclass">.ult-up</div>
                </li>
            
                <li>
                <i class="icon ultfont ult-down"></i>
                    <div class="name">down</div>
                    <div class="fontclass">.ult-down</div>
                </li>
            
                <li>
                <i class="icon ultfont ult-menu"></i>
                    <div class="name">menu</div>
                    <div class="fontclass">.ult-menu</div>
                </li>
            
                <li>
                <i class="icon ultfont ult-unorderedlist"></i>
                    <div class="name">unordered list</div>
                    <div class="fontclass">.ult-unorderedlist</div>
                </li>
            
                <li>
                <i class="icon ultfont ult-ellipsis"></i>
                    <div class="name">ellipsis</div>
                    <div class="fontclass">.ult-ellipsis</div>
                </li>
            
                <li>
                <i class="icon ultfont ult-plus"></i>
                    <div class="name">plus</div>
                    <div class="fontclass">.ult-plus</div>
                </li>
            
                <li>
                <i class="icon ultfont ult-compass-fill"></i>
                    <div class="name">compass-fill</div>
                    <div class="fontclass">.ult-compass-fill</div>
                </li>
            
                <li>
                <i class="icon ultfont ult-detail-fill"></i>
                    <div class="name">detail-fill</div>
                    <div class="fontclass">.ult-detail-fill</div>
                </li>
            
                <li>
                <i class="icon ultfont ult-appstore-fill"></i>
                    <div class="name">app store-fill</div>
                    <div class="fontclass">.ult-appstore-fill</div>
                </li>
            
        </ul>

        <h2 id="font-class-">font-class引用</h2>
        <hr>

        <p>font-class是unicode使用方式的一种变种，主要是解决unicode书写不直观，语意不明确的问题。</p>
        <p>与unicode使用方式相比，具有如下特点：</p>
        <ul>
        <li>兼容性良好，支持ie8+，及所有现代浏览器。</li>
        <li>相比于unicode语意明确，书写更直观。可以很容易分辨这个icon是什么。</li>
        <li>因为使用class来定义图标，所以当要替换图标时，只需要修改class里面的unicode引用。</li>
        <li>不过因为本质上还是使用的字体，所以多色图标还是不支持的。</li>
        </ul>
        <p>使用步骤如下：</p>
        <h3 id="-fontclass-">第一步：引入项目下面生成的fontclass代码：</h3>


        <pre><code class="lang-js hljs javascript"><span class="hljs-comment">&lt;link rel="stylesheet" type="text/css" href="./iconfont.css"&gt;</span></code></pre>
        <h3 id="-">第二步：挑选相应图标并获取类名，应用于页面：</h3>
        <pre><code class="lang-css hljs">&lt;<span class="hljs-selector-tag">i</span> <span class="hljs-selector-tag">class</span>="<span class="hljs-selector-tag">ultfont</span> <span class="hljs-selector-tag">ult-xxx</span>"&gt;&lt;/<span class="hljs-selector-tag">i</span>&gt;</code></pre>
        <blockquote>
        <p>"ultfont"是你项目下的font-family。可以通过编辑项目查看，默认是"iconfont"。</p>
        </blockquote>
    </div>
</body>
</html>
